package com.yqz.common;

public enum CodeMsg {

    SUCCESS(200,"操作成功！"),
    PARAM_VALIDATE_ERROR(40000101,"参数校验错误:"),
    SERVER_ERROR(40000110,"程序错误！"),

    USER_PHONE_PASSWORD_ERROR(40000201,"用户手机号或密码错误"),
    USER_ACCOUNT_INVALID_ERROR(40000202,"用户账号状态已失效"),
    USER_PHONE_EXIST_ERROR(40000203,"用户手机号已被使用"),
    USER_DELETE_ERROR(40000204,"员工离职失败,联系管理员"),
    USER_ROLE_SET_ERROR(40000205,"员工角色设置失败,联系管理员"),
    USER_LOGIN_NVALID_ERROR(40000206,"用户登陆已失效"),
    USER_PASSWORD_ERROR(40000207,"输入的原密码错误，请重新输入"),
    USER_PASSWORD_MODIFY_ERROR(40000208,"用户密码修改失败,请联系管理员"),

    PERM_USER_LOGIN_INVALID_ERROR(40000301,"用户登录已失效,请重新登录"),

    ROLE_DELETE_USEING_ERROR(40000401,"角色正被使用中，无法删除"),

    PAYMENT_SERVICE_TIME_ERROR(40000501,"服务时间错误"),
    PAYMENT_ADD_ERROR(40000502,"缴费记录添加失败"),
    PAYMENT_RECORD_ID_ERROR(40000503,"缴费记录不存在"),
    PAYMENT_CHECKED_ERROR(40000504,"缴费记录已审核,无需重复审核");


    public Integer CODE;

    public String MSG;

    CodeMsg(Integer CODE, String MSG) {
        this.CODE = CODE;
        this.MSG = MSG;
    }

    public Integer getCODE() {
        return CODE;
    }

    public void setCODE(Integer CODE) {
        this.CODE = CODE;
    }
}
